﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.Models.Country>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ETPOD: Delete <%= Model.CountryName %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Delete <%= Model.CountryName%></h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Country</legend>
         
        <div class="display-label">
            <%= Html.LabelFor(model => model.CountryCode) %>
        </div>
        <div class="display-field"><%= Html.Encode(Model.CountryCode) %></div>
        
        <div class="display-label">
            <%= Html.LabelFor(model => model.CountryName) %>
        </div>
        <div class="display-field"><%= Html.Encode(Model.CountryName) %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%= Html.ActionLink("Back to countries list", "Index") %>
        </p>
    <% } %>

</asp:Content>

